<div class='center_form'>
    <div class="center_form_right">
        <div class='center_form_btn_div' onclick='javascript:Common.submit();'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/save.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("saveBtn"); ?></div>
        </div>
        <div class='center_form_btn_div' onclick='javascript:Common.gotoUrl("<?php echo HttpUtil::baseUrl();?>/consult/consult");'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/cancel.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("cancelBtn"); ?></div>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="centerbig_form">
      <div class="center_top"><span class="center_top_title"><?php echo $this->translate("addCommentPage"); ?></span></div>
      <div class="right_form_content">
            <div class="centerbig_right">
               <div class="form_content">
                    <form action="<?php echo $this->form->getAction(); ?>" method="post">
						<?php ZendFormUtil::renderTextElement($this->form->userId)?>
                        <?php ZendFormUtil::renderElement($this->form->point); ?>
						<div class="form_line_div">
							<div class="form_element_label"><?php echo $this->translate("productId"); ?></div>
							<div class="form_element">
							     <input id="productId" type="text" value="<?php echo $this->form->productId->getValue()?>" name="productId"/>
							</div>
	                        <span style="cursor:pointer;" onclick="javascript:Inventory.openSearchDialog('<?php echo HttpUtil::baseUrl();?>');">
	                             <img src="<?php echo HttpUtil::baseUrl();?>/images/search.gif"/>
	                        </span>                            
						</div>
						<div class='clear'></div> 
                        <?php ZendFormUtil::renderRadioElement($this->form->showInProduct); ?>
                        <?php ZendFormUtil::renderElement($this->form->commentText); ?>
                        <?php ZendFormUtil::renderElement($this->form->replyText); ?>
                        <div class="form_line_div" align="center">
                        	<input type="image" name='submit' src='<?php echo HttpUtil::baseUrl();?>/images/save.gif'>保存
                        	<input type="image" name='cancel' src='<?php echo HttpUtil::baseUrl();?>/images/cancel.gif'>取消
                        </div>
                    </form>
               </div>
            </div>
      </div>
      <div class='clear'></div>
</div>
<div class='clear'></div>
<div id="searchDialog"></div>